This is a description of simple_choice1
def simple_choice1(sunny):
if (not sunny):
return sunny
else:
return not sunny
Function Call | Return Value | |||
---|---|---|---|---|
simple_choice1(True) | → | |||
simple_choice1(False) | → |
Experiment with this code on Gitpod.io